﻿namespace Data.MappingClasses
{
    [global::System.Data.Linq.Mapping.TableAttribute(Name = "dbo.TestResult")]
    public partial class TestResult
    {

        private short _refTest;

        private int _refStudentGroup;

        private short _result;

        private short _refTaskStatus;

        public TestResult()
        {
        }

        [global::System.Data.Linq.Mapping.ColumnAttribute(Storage = "_refTest", DbType = "SmallInt NOT NULL")]
        public short refTest
        {
            get
            {
                return this._refTest;
            }
            set
            {
                if ((this._refTest != value))
                {
                    this._refTest = value;
                }
            }
        }

        [global::System.Data.Linq.Mapping.ColumnAttribute(Storage = "_refStudentGroup", DbType = "Int NOT NULL")]
        public int refStudentGroup
        {
            get
            {
                return this._refStudentGroup;
            }
            set
            {
                if ((this._refStudentGroup != value))
                {
                    this._refStudentGroup = value;
                }
            }
        }

        [global::System.Data.Linq.Mapping.ColumnAttribute(Storage = "_result", DbType = "SmallInt NOT NULL")]
        public short result
        {
            get
            {
                return this._result;
            }
            set
            {
                if ((this._result != value))
                {
                    this._result = value;
                }
            }
        }

        [global::System.Data.Linq.Mapping.ColumnAttribute(Storage = "_refTaskStatus", DbType = "SmallInt NOT NULL")]
        public short refTaskStatus
        {
            get
            {
                return this._refTaskStatus;
            }
            set
            {
                if ((this._refTaskStatus != value))
                {
                    this._refTaskStatus = value;
                }
            }
        }
    }
}